package com.ruoyi.experiment.mapper;

import java.util.List;
import com.ruoyi.experiment.domain.ExperimentDesign;

/**
 * 实验设计Mapper接口
 * 
 * @author gw
 * @date 2025-01-08
 */
public interface ExperimentDesignMapper 
{
    /**
     * 查询实验设计
     * 
     * @param designId 实验设计主键
     * @return 实验设计
     */
    public ExperimentDesign selectExperimentDesignByDesignId(Long designId);

    /**
     * 查询实验设计列表
     * 
     * @param experimentDesign 实验设计
     * @return 实验设计集合
     */
    public List<ExperimentDesign> selectExperimentDesignList(ExperimentDesign experimentDesign);

    /**
     * 新增实验设计
     * 
     * @param experimentDesign 实验设计
     * @return 结果
     */
    public int insertExperimentDesign(ExperimentDesign experimentDesign);

    /**
     * 修改实验设计
     * 
     * @param experimentDesign 实验设计
     * @return 结果
     */
    public int updateExperimentDesign(ExperimentDesign experimentDesign);

    /**
     * 删除实验设计
     * 
     * @param designId 实验设计主键
     * @return 结果
     */
    public int deleteExperimentDesignByDesignId(Long designId);

    /**
     * 批量删除实验设计
     * 
     * @param designIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExperimentDesignByDesignIds(Long[] designIds);
}
